import request from '@/utils/request'


export function  referenceGwpDict() {
  return request({
    url: '/reference/referenceGwp/dict',
    method: 'get',
  })
}



// 查询GWP数据列表
export function listReferenceGwp(query) {
  return request({
    url: '/reference/referenceGwp/list',
    method: 'get',
    params: query
  })
}

// 查询GWP数据详细
export function getReferenceGwp(id) {
  return request({
    url: '/reference/referenceGwp/' + id,
    method: 'get'
  })
}

// 新增GWP数据
export function addReferenceGwp(data) {
  return request({
    url: '/reference/referenceGwp',
    method: 'post',
    data: data
  })
}

// 修改GWP数据
export function updateReferenceGwp(data) {
  return request({
    url: '/reference/referenceGwp',
    method: 'put',
    data: data
  })
}

// 删除GWP数据
export function delReferenceGwp(id) {
  return request({
    url: '/reference/referenceGwp/' + id,
    method: 'delete'
  })
}

// 导出GWP数据
export function exportReferenceGwp(query) {
  return request({
    url: '/reference/referenceGwp/export',
    method: 'get',
    params: query
  })
}
